@echo off

color 0A
set APP_HOME=d:\temp\bin

rem copy skins 
echo +--------------------- skins  -------------------+
del /Q %APP_HOME%\skins\js\cache_*.html
xcopy skins %APP_HOME%\skins /E /Y 

rem copy jsp
echo +---------------------  jsp   -------------------+
xcopy jsp %APP_HOME%\jsp /E /Y 

rem copy WEB-INF
echo +--------------------- WEB-INF ------------------+
del /Q %APP_HOME%\WEB-INF\lib\gdyj.jar
del /Q %APP_HOME%\WEB-INF\lib\loushang-di.jar
xcopy WEB-INF %APP_HOME%\WEB-INF /E /Y 

rem update sca file
echo +--------------------- update sca file ----------+
cd sca-update
java -cp dom4j.jar;. ScaUpdate %APP_HOME%\WEB-INF\ra > ../update.log

echo ..

rem pause
pause